package com.atguigu.jxc.service;

import com.atguigu.jxc.domain.ServiceVO;
import com.atguigu.jxc.entity.DamageList;
import com.atguigu.jxc.entity.OverflowList;
import com.atguigu.jxc.entity.User;

import java.util.Map;

public interface DamageListGoodsService {
    /**
     * 保存报损单
     *
     * @param damageList
     * @param damageListGoodsStr
     * @param userId
     * @return
     */
    ServiceVO damageListGoods(DamageList damageList, String damageListGoodsStr, Integer userId);

    /**
     * 新增溢单表
     * @param overflowList
     * @param overflowListGoodsStr
     * @param userId
     * @return
     */
    ServiceVO overflowListGoodsSave(OverflowList overflowList, String overflowListGoodsStr, Integer userId);

    /**
     * 报损单查询
     * @param sTime
     * @param eTime
     * @param user
     * @return
     */
    Map<String, Object> damageListGoodsList(String sTime, String eTime);

    /**
     * 查询报损单商品信息
     * @param damageListId
     * @return
     */
    Map<String, Object> damageListGoodsGoodsList(Integer damageListId);

    /**
     * 报溢单
     * @param sTime
     * @param eTime
     * @return
     */
    Map<String, Object> overflowListGoods(String sTime, String eTime);

    /**
     * 报溢单商品详情
     * @param overflowListId
     * @return
     */
    Map<String, Object> overflowListGoodsgoodsList(Integer overflowListId);
}
